<%@page import="beans.Shop"%>
<%@page import="beans.Task"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
%>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta name="generator" content="" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<link href="<%=path%>/admin/css/haiersoft.css" rel="stylesheet" type="text/css"
	media="screen,print" />
<link href="<%=path%>/admin/css/print.css" rel="stylesheet" type="text/css"
	media="print" />
<script src="<%=path%>/admin/js/jquery-1.10.1.min.js"></script>
<script src="<%=path%>/admin/js/side.js" type="text/javascript"></script>
<script type="text/javascript">
	$(function() {
		$(".select").each(function() {
			var s = $(this);
			var z = parseInt(s.css("z-index"));
			var dt = $(this).children("dt");
			var dd = $(this).children("dd");
			var _show = function() {
				dd.slideDown(200);
				dt.addClass("cur");
				s.css("z-index", z + 1);
			};
			var _hide = function() {
				dd.slideUp(200);
				dt.removeClass("cur");
				s.css("z-index", z);
			};
			dt.click(function() {
				dd.is(":hidden") ? _show() : _hide();
			});
			dd.find("a").click(function() {
				dt.html($(this).html());
				_hide();
			});
			$("body").click(function(i) {
				!$(i.target).parents(".select").first().is(s) ? _hide() : "";
			});
		})
	});
</script>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
<![endif]-->
</head>

<body>
<form action="<%=path %>/ShopOperationServlet" method="post">
<input name="operation" type="hidden" value="${operation }">
	<!-- Popup -->
	<div id="Popup">

		<!-- SubPopup -->
		<div id="SubPopup">
			<div class="form_boxC">
				<p>
					"<span class="f_cB">*</span>"号为必填项目
				</p>
				<table>
					<tr>
						<th width="100">编号<span class="f_cB">*</span></th>
						<td><div class="txtbox floatL" style="width: 160px;">
								<input name="sid" type="text" size="15" value="${shop.id }" readonly>
							</div></td>
					</tr>
					<tr>
						<th>商铺名称 <span class="f_cB">*</span></th>
						<td><div class="txtbox floatL" style="width: 160px;">
								<input name="name" type="text" size="15" value="${shop.name }">
							</div></td>
					</tr>
					<tr>
						<th>商铺电话 <span class="f_cB">*</span></th>
						<td><div class="txtbox floatL" style="width: 160px;">
								<input name="tel" type="text" size="15" value="${shop.tel }">
							</div></td>
					</tr>
					<tr>
						<th>地址<span class="f_cB">*</span></th>
						<td>
                            <div class="txtbox">
                                <textarea name="address" cols="25" rows="5">${shop.address }</textarea>
                            </div>
                        </td>
					</tr>
					<tr>
						<th>是否营业 <span class="f_cB">*</span></th>
						<td><div class="txtbox floatL" style="width: 160px;">
								<input name="status" type="text" size="15" value="${shop.status }">
							</div></td>
					</tr>
					<tr>
						<th>描述<span class="f_cB">*</span></th>
						<td><div class="txtbox floatL" style="width: 160px;">
								<input name="describe" type="text" size="15" value="${shop.shopDescribe }">
							</div></td>
					</tr>
				</table>
			</div>
		</div>
		<!-- SubPopup -->

		<div id="BtmBtn">
			<div class="btn_box floatL">
				<input type="submit" value="提交"
					onmousemove="this.className='input_move'"
					onmouseout="this.className='input_out'">
			</div>
			<div class="btn_boxB floatL mag_l20">
				<input type="button" value="取消" onclick="window.location=history.back(-1)"
					onmousemove="this.className='input_move'"
					onmouseout="this.className='input_out'">
			</div>
		</div>
	</div>
	<!-- /Popup -->
	</form>
</body>
</html>